package com.nagarro.assignment1.inventory;

/**
 * Class representing a manufactured item.
 * @author Shreyasi Agrawal
 * @version 1.0
 */
public class Manufactured extends Item {

	/**
	 * Method to calculate tax of a manufactured item, given the price
	 */
	@Override
	public double calculate(double price) {
		double temp;
		
		temp = this.compute(price);
		tax = temp + (0.02 * (price + temp));
		return tax;
	}
}